#include "cppTutorGlobals.h"
#include "cppTutorConstInitialize.h"

// log framework
#include "cppTutorLog.h"
extern CcppTutorLog Log;

// utl framework
#include "cppTutorUtils.h"
extern CcppTutorUtils utl;

#include <iostream>

#ifdef CONST_INITIALIZE_USING_INITIALIZER_LIST
CcppTutorConstInitialize :: CcppTutorConstInitialize () : m_ncValue (100) {
    Log << "ENTER : CcppTutorConstInitialize :: CcppTutorConstInitialize()" << endl;
    Log << "EXIT  : CcppTutorConstInitialize :: CcppTutorConstInitialize()" << endl;
}
#elseif CONST_INITIALIZE_ASSIGNEMNT_INSIDE_CONSTRUCTOR
CcppTutorConstInitialize :: CcppTutorConstInitialize () {
    m_ncValue = 100;
}
#else 
    CcppTutorConstInitialize :: CcppTutorConstInitialize () {
#endif 
}

CcppTutorConstInitialize :: ~CcppTutorConstInitialize () {
    Log << "ENTER : CcppTutorConstInitialize :: ~CcppTutorConstInitialize()" << endl;
    Log << "EXIT  : CcppTutorConstInitialize :: ~CcppTutorConstInitialize()" << endl;
}
